\hypertarget{class_simple_factory}{}\doxysection{Simple\+Factory Class Reference}
\label{class_simple_factory}\index{SimpleFactory@{SimpleFactory}}


{\ttfamily \#include $<$D\+E\+S\+I\+G\+N\+P\+A\+T\+T\+E\+R\+N\+\_\+\+Simple\+Factory.\+h$>$}

\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{class_simple_factory_a492f93e35730ece9a15b82e15dfcc743}{$\sim$\+Simple\+Factory}} ()
\item 
\mbox{\hyperlink{class_profession}{Profession}} $\ast$ \mbox{\hyperlink{class_simple_factory_ad694d842899090d143028bcba3fd5cca}{Create\+Profession}} (\mbox{\hyperlink{_product_def_8h_af4f386858b1730df6c103acb62cebe68}{P\+R\+O\+F\+E\+S\+S\+I\+O\+N\+\_\+\+T\+Y\+PE}} e\+Profession)
\end{DoxyCompactItemize}
\doxysubsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
static \mbox{\hyperlink{class_simple_factory}{Simple\+Factory}} $\ast$ \mbox{\hyperlink{class_simple_factory_ad4801d96dfc825d871c5637e6ed6e588}{Instance}} ()
\item 
static \mbox{\hyperlink{_my_self_def_8h_a7927e087749615dae3114cc27b91c86d}{V\+O\+ID}} \mbox{\hyperlink{class_simple_factory_a354ec13a722ca4eda517894a1f02ba77}{Destroy}} ()
\end{DoxyCompactItemize}
\doxysubsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{class_simple_factory_a24164cc1936a621a0790dac98eb53b03}{Simple\+Factory}} ()
\item 
\mbox{\hyperlink{class_simple_factory_a1638875dd8d403c75df75a2c194b8d79}{Simple\+Factory}} (const \mbox{\hyperlink{class_simple_factory}{Simple\+Factory}} \&c\+Simple\+Factory)
\item 
\mbox{\hyperlink{class_simple_factory}{Simple\+Factory}} \& \mbox{\hyperlink{class_simple_factory_a9e21a5695206846b7baaecfe58d0c284}{operator=}} (const \mbox{\hyperlink{class_simple_factory}{Simple\+Factory}} \&c\+Simple\+Factory)
\end{DoxyCompactItemize}
\doxysubsection*{Static Private Attributes}
\begin{DoxyCompactItemize}
\item 
static \mbox{\hyperlink{class_simple_factory}{Simple\+Factory}} $\ast$ \mbox{\hyperlink{class_simple_factory_a3f283cb9b4f949bef290f7885e1c23a8}{m\+\_\+p\+Instance}} = N\+U\+LL
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}


Definition at line 14 of file D\+E\+S\+I\+G\+N\+P\+A\+T\+T\+E\+R\+N\+\_\+\+Simple\+Factory.\+h.



\doxysubsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{class_simple_factory_a492f93e35730ece9a15b82e15dfcc743}\label{class_simple_factory_a492f93e35730ece9a15b82e15dfcc743}} 
\index{SimpleFactory@{SimpleFactory}!````~SimpleFactory@{$\sim$SimpleFactory}}
\index{````~SimpleFactory@{$\sim$SimpleFactory}!SimpleFactory@{SimpleFactory}}
\doxysubsubsection{\texorpdfstring{$\sim$SimpleFactory()}{~SimpleFactory()}}
{\footnotesize\ttfamily Simple\+Factory\+::$\sim$\+Simple\+Factory (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}

Destruction


\begin{DoxyParams}{Parameters}
{\em V\+O\+ID} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}

\end{DoxyReturn}


Definition at line 37 of file D\+E\+S\+I\+G\+N\+P\+A\+T\+T\+E\+R\+N\+\_\+\+Simple\+Factory.\+cpp.

\mbox{\Hypertarget{class_simple_factory_a24164cc1936a621a0790dac98eb53b03}\label{class_simple_factory_a24164cc1936a621a0790dac98eb53b03}} 
\index{SimpleFactory@{SimpleFactory}!SimpleFactory@{SimpleFactory}}
\index{SimpleFactory@{SimpleFactory}!SimpleFactory@{SimpleFactory}}
\doxysubsubsection{\texorpdfstring{SimpleFactory()}{SimpleFactory()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily Simple\+Factory\+::\+Simple\+Factory (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [private]}}

Construction


\begin{DoxyParams}{Parameters}
{\em V\+O\+ID} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}

\end{DoxyReturn}


Definition at line 26 of file D\+E\+S\+I\+G\+N\+P\+A\+T\+T\+E\+R\+N\+\_\+\+Simple\+Factory.\+cpp.

\mbox{\Hypertarget{class_simple_factory_a1638875dd8d403c75df75a2c194b8d79}\label{class_simple_factory_a1638875dd8d403c75df75a2c194b8d79}} 
\index{SimpleFactory@{SimpleFactory}!SimpleFactory@{SimpleFactory}}
\index{SimpleFactory@{SimpleFactory}!SimpleFactory@{SimpleFactory}}
\doxysubsubsection{\texorpdfstring{SimpleFactory()}{SimpleFactory()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily Simple\+Factory\+::\+Simple\+Factory (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{class_simple_factory}{Simple\+Factory}} \&}]{c\+Simple\+Factory }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [private]}}

Copy Construction


\begin{DoxyParams}{Parameters}
{\em const} & \mbox{\hyperlink{class_simple_factory}{Simple\+Factory}}\& c\+Simple\+Factory \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}

\end{DoxyReturn}


\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{class_simple_factory_ad694d842899090d143028bcba3fd5cca}\label{class_simple_factory_ad694d842899090d143028bcba3fd5cca}} 
\index{SimpleFactory@{SimpleFactory}!CreateProfession@{CreateProfession}}
\index{CreateProfession@{CreateProfession}!SimpleFactory@{SimpleFactory}}
\doxysubsubsection{\texorpdfstring{CreateProfession()}{CreateProfession()}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_profession}{Profession}} $\ast$ Simple\+Factory\+::\+Create\+Profession (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{_product_def_8h_af4f386858b1730df6c103acb62cebe68}{P\+R\+O\+F\+E\+S\+S\+I\+O\+N\+\_\+\+T\+Y\+PE}}}]{e\+Profession }\end{DoxyParamCaption})}

Create \mbox{\hyperlink{class_profession}{Profession}}


\begin{DoxyParams}{Parameters}
{\em P\+R\+O\+F\+E\+S\+S\+I\+O\+N\+\_\+\+T\+Y\+PE} & e\+Profession \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Profession$\ast$ 
\end{DoxyReturn}
\begin{DoxyNote}{Note}
\mbox{\hyperlink{class_profession}{Profession}} Type to identify the creating
\end{DoxyNote}
Create \mbox{\hyperlink{class_profession}{Profession}}


\begin{DoxyParams}{Parameters}
{\em V\+O\+ID} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Profession$\ast$ 
\end{DoxyReturn}
\begin{DoxyNote}{Note}
\mbox{\hyperlink{class_profession}{Profession}} Type to identify the creating 
\end{DoxyNote}


Definition at line 85 of file D\+E\+S\+I\+G\+N\+P\+A\+T\+T\+E\+R\+N\+\_\+\+Simple\+Factory.\+cpp.

\mbox{\Hypertarget{class_simple_factory_a354ec13a722ca4eda517894a1f02ba77}\label{class_simple_factory_a354ec13a722ca4eda517894a1f02ba77}} 
\index{SimpleFactory@{SimpleFactory}!Destroy@{Destroy}}
\index{Destroy@{Destroy}!SimpleFactory@{SimpleFactory}}
\doxysubsubsection{\texorpdfstring{Destroy()}{Destroy()}}
{\footnotesize\ttfamily \mbox{\hyperlink{_my_self_def_8h_a7927e087749615dae3114cc27b91c86d}{V\+O\+ID}} Simple\+Factory\+::\+Destroy (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}

Destroy


\begin{DoxyParams}{Parameters}
{\em V\+O\+ID} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
V\+O\+ID 
\end{DoxyReturn}
\begin{DoxyNote}{Note}
singleton 
\end{DoxyNote}


Definition at line 68 of file D\+E\+S\+I\+G\+N\+P\+A\+T\+T\+E\+R\+N\+\_\+\+Simple\+Factory.\+cpp.

\mbox{\Hypertarget{class_simple_factory_ad4801d96dfc825d871c5637e6ed6e588}\label{class_simple_factory_ad4801d96dfc825d871c5637e6ed6e588}} 
\index{SimpleFactory@{SimpleFactory}!Instance@{Instance}}
\index{Instance@{Instance}!SimpleFactory@{SimpleFactory}}
\doxysubsubsection{\texorpdfstring{Instance()}{Instance()}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_simple_factory}{Simple\+Factory}} $\ast$ Simple\+Factory\+::\+Instance (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}

Instance


\begin{DoxyParams}{Parameters}
{\em V\+O\+ID} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Simple\+Factory$\ast$ 
\end{DoxyReturn}
\begin{DoxyNote}{Note}
singleton
\end{DoxyNote}
Instance


\begin{DoxyParams}{Parameters}
{\em V\+O\+ID} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Simple\+Factory$\ast$ 
\end{DoxyReturn}
\begin{DoxyNote}{Note}
\mbox{\hyperlink{class_simple_factory}{Simple\+Factory}} 
\end{DoxyNote}


Definition at line 50 of file D\+E\+S\+I\+G\+N\+P\+A\+T\+T\+E\+R\+N\+\_\+\+Simple\+Factory.\+cpp.

\mbox{\Hypertarget{class_simple_factory_a9e21a5695206846b7baaecfe58d0c284}\label{class_simple_factory_a9e21a5695206846b7baaecfe58d0c284}} 
\index{SimpleFactory@{SimpleFactory}!operator=@{operator=}}
\index{operator=@{operator=}!SimpleFactory@{SimpleFactory}}
\doxysubsubsection{\texorpdfstring{operator=()}{operator=()}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_simple_factory}{Simple\+Factory}}\& Simple\+Factory\+::operator= (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{class_simple_factory}{Simple\+Factory}} \&}]{c\+Simple\+Factory }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [private]}}

Assignment


\begin{DoxyParams}{Parameters}
{\em const} & \mbox{\hyperlink{class_simple_factory}{Simple\+Factory}}\& c\+Simple\+Factory \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\mbox{\hyperlink{class_simple_factory}{Simple\+Factory}}\& 
\end{DoxyReturn}


\doxysubsection{Member Data Documentation}
\mbox{\Hypertarget{class_simple_factory_a3f283cb9b4f949bef290f7885e1c23a8}\label{class_simple_factory_a3f283cb9b4f949bef290f7885e1c23a8}} 
\index{SimpleFactory@{SimpleFactory}!m\_pInstance@{m\_pInstance}}
\index{m\_pInstance@{m\_pInstance}!SimpleFactory@{SimpleFactory}}
\doxysubsubsection{\texorpdfstring{m\_pInstance}{m\_pInstance}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_simple_factory}{Simple\+Factory}} $\ast$ Simple\+Factory\+::m\+\_\+p\+Instance = N\+U\+LL\hspace{0.3cm}{\ttfamily [static]}, {\ttfamily [private]}}



Definition at line 80 of file D\+E\+S\+I\+G\+N\+P\+A\+T\+T\+E\+R\+N\+\_\+\+Simple\+Factory.\+h.



The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
C\+:/96\+\_\+project/\+Design\+Pattern/\+Simple\+Factory/groupinc/\mbox{\hyperlink{_d_e_s_i_g_n_p_a_t_t_e_r_n___simple_factory_8h}{D\+E\+S\+I\+G\+N\+P\+A\+T\+T\+E\+R\+N\+\_\+\+Simple\+Factory.\+h}}\item 
C\+:/96\+\_\+project/\+Design\+Pattern/\+Simple\+Factory/\mbox{\hyperlink{_d_e_s_i_g_n_p_a_t_t_e_r_n___simple_factory_8cpp}{D\+E\+S\+I\+G\+N\+P\+A\+T\+T\+E\+R\+N\+\_\+\+Simple\+Factory.\+cpp}}\end{DoxyCompactItemize}
